/**
 * Licensed under the Common Development and Distribution License,
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.sun.com/cddl/
 *   
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
 * implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */

package facelets;


import com.sun.facelets.tag.AbstractTagLibrary;

/**
 * @version $Id: TomahawkSandboxLibrary.java,v 1.2 2007/03/15 12:36:06 nachoe Exp $
 */
public final class TomahawkSandboxLibrary extends AbstractTagLibrary {

    public final static String Namespace = "http://myfaces.apache.org/sandbox";

    public final static TomahawkSandboxLibrary Instance = new TomahawkSandboxLibrary();

    public TomahawkSandboxLibrary() {
        super(Namespace);

        this.addComponent("submitOnEvent", "org.apache.myfaces.SubmitOnEvent", "org.apache.myfaces.SubmitOnEvent");
        
        this.addComponent("focus", "org.apache.myfaces.Focus", "org.apache.myfaces.Focus");
        
        this.addComponent("stateChangedNotifier", "org.apache.myfaces.StateChangedNotifier", "org.apache.myfaces.StateChangedNotifierRenderer");
      
        this.addComponent("ajaxChildComboBox", "org.apache.myfaces.AjaxChildComboBox", 
        					"org.apache.myfaces.AjaxChildComboBox", org.apache.myfaces.custom.ajaxchildcombobox.AjaxChildComboBoxTagHandler.class);

        this.addComponent("inputSuggestAjax", "org.apache.myfaces.InputSuggestAjax", 
				"org.apache.myfaces.InputSuggestAjax", facelets.component.InputSuggestAjaxComponentHandler.class);

        this.addComponent("tableSuggestAjax", "org.apache.myfaces.TableSuggestAjax", 
				"org.apache.myfaces.TableSuggestAjax", facelets.component.InputSuggestAjaxComponentHandler.class);

        this.addComponent("modalDialog", "org.apache.myfaces.ModalDialog", "org.apache.myfaces.ModalDialog");
        
        this.addComponent("outputText", "org.apache.myfaces.HtmlOutputTextFor", null);
        
        this.addComponent("ifMessage", "org.apache.myfaces.IfMessage", "org.apache.myfaces.IfMessageRenderer");

        this.addComponent("form", "org.apache.myfaces.HtmlForm", "org.apache.myfaces.Form");
        
        this.addComponent("loadBundle", "org.apache.myfaces.LoadBundle", null);
        
        this.addComponent("pprPanelGroup", "org.apache.myfaces.PPRPanelGroup", "org.apache.myfaces.PPRPanelGroup");
        
        this.addComponent("selectOneRow", "org.apache.myfaces.SelectOneRow", "org.apache.myfaces.SelectOneRow");
        
        this.addComponent("togglePanel", "org.apache.myfaces.TogglePanel", "org.apache.myfaces.TogglePanel");
        
        this.addComponent("toggleGroup", "org.apache.myfaces.ToggleGroup", "org.apache.myfaces.ToggleGroup");
        
        this.addComponent("toggleLink", "org.apache.myfaces.ToggleLink", "org.apache.myfaces.ToggleLink");
        
        this.addConverter("convertDateTime", "org.apache.myfaces.custom.convertDateTime.DateTimeConverter");
        
     
        this.addValidator("validateCompareTo", "org.apache.myfaces.validator.CompareTo");
        
      }
}
